package com.interfaces;

import java.util.List;

import com.bean.EmployeeBean;
import com.exception.LMSException;
import com.view.LeaveDetailView;

/**
 * The Interface EmployeeManager.
 * 
 * @author : gbs02399 Created on : Jul 6, 2012 Project : LMS File Name :
 *         EmployeeManager.java
 */
public interface EmployeeManager {

	/**
	 * Gets the employee leave detail.
	 * 
	 * @param userId
	 *            the user id
	 * @return the employee leave detail
	 * @throws LMSException
	 *             the lMS exception
	 */
	public LeaveDetailView getEmployeeLeaveDetail(final String userId)
			throws LMSException;

	/**
	 * Insert employee.
	 * 
	 * @param employeeBean
	 *            the employee bean
	 * @throws LMSException
	 *             the lMS exception
	 */
	public void insertEmployee(EmployeeBean employeeBean) throws LMSException;

	/**
	 * Gets the employee.
	 * 
	 * @param userID
	 *            the user id
	 * @param password
	 *            the password
	 * @return the employee
	 * @throws LMSException
	 *             the lMS exception
	 */
	public EmployeeBean getEmployee(final String userID, final String password)
			throws LMSException;
	
	public List<EmployeeBean> getEmployeeList (String userId) throws LMSException;
	
	public EmployeeBean getEmployeeBean(final String empId) throws LMSException;
}
